package com.telecomyt.jwportal.base;

import android.os.Bundle;

import androidx.annotation.Nullable;

import com.telecomyt.jwportal.utils.ActivityManager;
import com.trello.rxlifecycle2.components.support.RxAppCompatActivity;

public class FraBaseActivity extends RxAppCompatActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ActivityManager.getInstance().addActivity(this);
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        ActivityManager.getInstance().removeActivity(this);
    }

}
